ANGLE (software)
Developer(s) | |
---|---|
Repository | |
Written in | C++ |
Platform | Cross-platform |
Type | Graphics engine |
License | BSD 3-Clause License |
Website | angleproject |
ANGLE (Almost Native Graphics Layer Engine) is an open source, cross-platform graphics engine abstraction layer developed by Google.[1] ANGLE translates OpenGL ES 2/3 calls to DirectX 9, 11, OpenGL or Vulkan API calls.[2][3][4][5] It is a portable version of OpenGL but with limitations of OpenGL ES standard.[6][7]
The API is mainly designed to bring up a high-performance OpenGL compatibility to Microsoft Windows and to web browsers such as Chromium by translating OpenGL calls to Direct3D, which has much better driver support on Windows systems.[3][4][5] On Windows, there are two backend renderers for ANGLE: the oldest one uses Direct3D 9.0c, while the newer one uses Direct3D 11.[8]
ANGLE is currently used by Google Chrome (embedded into the Blink browser engine), Firefox,[9] Edge, WebKit, and the Qt Framework.[10] The engine is also used by Windows 10 for compatibility with apps ported from Android.[11] Throughout 2019, the Apple team contributed a Metal API backend for the ANGLE so Apple devices could run on their native graphics APIs.[12]
ANGLE is distributed under a BSD-license.
History
[edit]The project started as a way for Google to bring full hardware acceleration for WebGL to Windows without relying on OpenGL graphics drivers. Google initially released the program under the BSD license.[13]
The current production version (2.1.x) implements OpenGL ES 2.0, 3.0, 3.1 and EGL 1.5, claiming to pass the conformance tests for both. Work was started on then future OpenGL ES 3.0 version,[8] for the newer Direct3D 11 backend.[14]
The capability to use ANGLE in a Windows Store app was added in 2014.[11] Microsoft contributed support for lower feature levels to the project. Supporting CoreWindow and SwapChainPanel in ANGLE's EGL allows applications to run on Windows 8.1, Windows Phone 8.1, and later.[15]
Level of OpenGL ES support via backing renderers
[edit]Direct3D 9 | Direct3D 11 | Desktop GL | GL ES | Vulkan | Metal | |
---|---|---|---|---|---|---|
OpenGL ES 2.0 | complete | complete | complete | complete | complete | complete |
OpenGL ES 3.0 | complete | complete | complete | complete | complete | |
OpenGL ES 3.1 | incomplete | complete | complete | complete | ||
OpenGL ES 3.2 | in progress | in progress | complete |
Direct3D 9 | Direct3D 11 | Desktop GL | GL ES | Vulkan | Metal | |
---|---|---|---|---|---|---|
Windows | complete | complete | complete | complete | complete | |
Linux | complete | complete | ||||
macOS | complete | complete | ||||
iOS | complete | |||||
ChromeOS | complete | Planned | ||||
Android | complete | complete | ||||
GGP (Stadia) | complete | |||||
Fuchsia | complete |
Software utilizing ANGLE
[edit]ANGLE is currently used in a number of programs and software.
- Chromium and Google Chrome.[9] Chrome uses ANGLE not only for WebGL, but also for its implementation of the 2D HTML5 canvas and for the graphics layer of the Google Native Client (which is OpenGL ES 2.0 compatible).[8]
- Safari web browser uses ANGLE as basis for its WebGL implementation.[12]
- Firefox uses ANGLE as the default WebGL backend on Windows.[9]
- Qt 5 uses ANGLE as the default renderer for its OpenGL ES 2.0 API wrapper and other Qt elements which use it on Windows.[10]
- Godot uses ANGLE as an option for compatibility renderer for Windows and MacOS platforms starting with Godot 4.2[16][17]
- Candy Crush Saga uses ANGLE as the default renderer in its Windows Store version of the application.[11]
- Cocos2d uses ANGLE as its rendering engine for applications published to the Windows Store.[11]
- ANGLE for Windows Store[18] provides Windows developers precompiled ANGLE binaries via a NuGet package.
- Stellarium provides two versions for Windows: the default version uses OpenGL, the alternative version uses ANGLE as the renderer.[19]
- Shovel Knight uses ANGLE as rendering engine, as seen in final credits.[20]
- RuneScape NXT client uses ANGLE to provide a DirectX 9 compatibility mode for older graphics cards.[21]
- Krita started using ANGLE as the rendering engine on Windows starting on version 3.3.0.[22]
- Microsoft Edge has ANGLE as a rendering option in the "Standards Preview" page in Windows Insider build 17025.
- Grand Theft Auto V included ANGLE in the installation, normally at Systemdrive.
- OpenRA uses ANGLE for rendering on Windows[23]
- SolveSpace uses ANGLE on Windows.
- GameMaker: Studio uses ANGLE at compile-time to convert GLSL ES shaders to HLSL9 for the old Windows 32-bit export module.
References
[edit]- ^ "Google Announces Angle – Almost Native Graphics Layer Engine – so OpenGL ES can run over DirectX 9 – khronos.org news". Khronos.org. 19 March 2010. Retrieved 5 August 2014.
- ^ "ANGLE". Skia. Retrieved 11 April 2022.
- ^ a b "Google's Angle brings OpenGL to Windows". I-programmer.info. 13 December 2011. Retrieved 5 August 2014.
- ^ a b "Chromium gets GPU acceleration – The H Open: News and Features". H-online.com. 30 August 2010. Retrieved 5 August 2014.
- ^ a b Bridge, Henry (18 March 2010). "Chromium Blog: Introducing the ANGLE Project". Blog.chromium.org. Retrieved 5 August 2014.
- ^ "angle/angle - Git at Google". chromium.googlesource.com. Retrieved 8 July 2021.
- ^ ANGLE: OpenGL on Vulkan, 11 May 2018, retrieved 8 July 2021
- ^ a b c "angleproject – ANGLE: Almost Native Graphics Layer Engine – Google Project Hosting". 25 March 2014. Retrieved 5 August 2014.
- ^ a b c "(WebGL) How to Enable Native OpenGL in your Browser (Windows)". Geeks3D. 11 June 2013. Retrieved 5 August 2014.
- ^ a b "Graphics on Windows from a different angle | Qt Blog". Qt. Retrieved 5 August 2014.
- ^ a b c d "ANGLE: Running OpenGL ES 2.0 Graphics Code on Windows". channel9.msdn.com. 30 April 2015.
- ^ a b "WebGL 2.0 Achieves Pervasive Support from all Major Web Browsers". The Khronos Group. 9 February 2022. Retrieved 13 February 2022.
- ^ Shankland, Stephen (25 March 2014). "Google aims for easier 3D Web on Windows – CNET". News.cnet.com. Retrieved 5 August 2014.
- ^ https://angleproject.googlecode.com/files/ANGLE%20and%20Cross-Platform%20WebGL%20Support.pdf Archived 11 August 2014 at the Wayback Machine.
- ^ "ANGLE for Windows Store Wiki". Microsoft Corp.
- ^ "Dev snapshot: Godot 4.2 dev 6".
- ^ "[macOS/Windows] Add optional ANGLE backed OpenGL renderer support (Runtime backend selection). By bruvzg · Pull Request #72831 · godotengine/Godot". GitHub.
- ^ "ANGLE for Windows Store – NuGet Package". www.nuget.org. 29 May 2015.
- ^ "FAQ #2570 : Questions : Stellarium". answers.launchpad.net. 19 July 2014.
- ^ VideoGameCredits (27 June 2014). "Shovel Knight (Credits) (PC)" – via YouTube.
- ^ Jagex (2 February 2016). "Dev Blog - NXT - Can I Run It? - News - RuneScape". services.runescape.com.
- ^ Foundation, Krita (28 September 2017). "Krita 3.3.0 - Krita". krita.org.
- ^ Chote, Paul (31 January 2021). "Playtest 20210131". OpenRA.